const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,

  lintOnSave: false,
  devServer: {
    proxy:{
      '/api':{
        target:'https://jsonplaceholder.typicode.com/',
        changeOrigin:true,
        pathRewrite:{
          '^/api':''
        }
      },
      '/backend':{
        target:'https://jsonplaceholder.typicode.com/',
        changeOrigin:true,
        pathRewrite:{
          '^/api':''
        }
      }
    }
  }
})
